From 8f04d55021a919783c70e725f6f2a33d086e6916 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 20 Mar 2008 17:45:00 +0000 Subject: [PATCH] xend: Fix writing domain's VDI UUID into domain state file. Signed-off-by: Keir Fraser --- tools/python/xen/xend/XendConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 0855f01c12..9915fb8462 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -991,7 +991,7 @@ class XendConfig(dict): dev_type, dev_cfg = self['devices'][dev_uuid] is_bootable = dev_cfg.get('bootable', 0) config.append(['bootable', int(is_bootable)]) - config.append(['VDI'], dev_cfg.get('VDI', '')) + config.append(['VDI', dev_cfg.get('VDI', '')]) sxpr.append(['device', config]) -- 2.30.2